<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>注册页面</title>
    <style>
        /* CSS Document */
        .reg_div{
            width: 320px;
            margin: auto;
        }
        .submit_btn{
            display: block;
            width: 100px;
            height: 28px;
            line-height: 28px;
            font-size: 14px;
            border: 1px #006600 solid;
            text-align: center;
            border-radius: 3px;
            background:#090;
            color:#FFF;
            float: right;
            margin: 10px 15px 0 0;
        }
        .submit_btn:hover{
            background: #0C3;
            cursor: pointer;

        }
        label{
            display: inline-block;
            text-align: right;
            width: 90px;
            padding-right:10px;
            height: 28px;
        }

        input{
            width: 200px;
            height: 28px;
            border: #06F 1px solid;
            border-radius: 3px;
            margin: 5px 0 5px 0;

        }
        .h_title{
            text-align:center;
        }
        .h_hr{
            height:2px;
            background:#0CF;
            margin-bottom: 15px;
        }
    </style>
</head>


<body>
<div class="reg_div">
    <div class="h_title"><h3>管理员注册表单</h3></div>
    <div class="h_hr"></div>
    <div class="alert alert-danger alert-dismissible" th:if="${renter.flag==false}">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        <strong>错误!</strong><b th:text="${renter.msg}"></b>
    </div>

    <form th:action="@{/register}" method="post">
        <label>账号</label><input type="text" placeholder="请输入账号..." name="accountName" /><br />
        <label>密码</label><input type="password" placeholder="请输入密码..." name="password" /><br />
        <label>密码</label><input type="password" placeholder="请输入密码..." name="againPassword" /><br />
        <div><input type="submit" class="submit_btn"></div>
    </form>
</div>
</body>
</html>